package com.biyabi.service;

import com.biyabi.pojo.Cart;
import com.biyabi.pojo.OrderData;
import com.biyabi.pojo.OrderPojo;

import java.util.List;

public interface OrderService {
    public OrderPojo add(Cart cart, String addressid, String userId);
    void delete(String id);
    OrderData selectAll(Integer currentPage, Integer pageSize,String columnName,String columnValue);
    List<OrderPojo> selectByUserId(String userId);
    void updateStatus(String orderId,Integer status);
    void expose(String orderId);
}
